package org.tong.mapstruct;

import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;
import org.tong.jpa.entities.Student;

import java.util.Map;

/**
 * @author
 * @date 2022-08-23 16:52
 */
@Mapper
public interface MyConvert {
    MyConvert INS = Mappers.getMapper(MyConvert.class);

    Student map2Student(Map<String, Object> map);
}
